package com.atguigu.mediator.smarthouse;

/**
 * @Description: 抽象中介者
 * @Author lixiaolong
 * @Date 2023/10/13
 */
public abstract class Mediator {
	//将定的同事类 放入集合中
	public abstract void Register(String colleagueName, Colleague colleague);

	//接收 具体的同事类对象 发出的消息
	public abstract void GetMessage(int stateChange, String colleagueName);

	public abstract void SendMessage();
}
